local zong__xiemu = fk.CreateSkill {
  name = "zong__xiemu",
  tags = {Skill.Compulsory},
}

Fk:loadTranslationTable{
  ["zong__xiemu"] = "谢幕",
  [":zong__xiemu"] = "锁定技，结束阶段，你受到1点火焰伤害。",
}

-- 添加结束阶段触发效果
zong__xiemu:addEffect(fk.EventPhaseEnd, {
  can_trigger = function(self, event, target, player, data)
    return target == player
    and player:hasSkill(zong__xiemu.name)
    and player.phase == Player.Finish
  end,

  on_use = function(self, event, target, player, data)
    local room = player.room

    room:damage({
      from = player,
      to = player,
      damage = 1,
      damageType = fk.FireDamage,
      skillName = zong__xiemu.name,
    })
  end,
})

return zong__xiemu